package com.bingo.controller;

import com.bingo.event.MyTestEventPubLisher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * @author 25452
 */
@Controller
public class TestEventListenerController {
	@Autowired
	private MyTestEventPubLisher publisher;

	@RequestMapping(value = "/test/testPublishEvent1" )
	public void testPublishEvent(){
		publisher.pushListener("我来了！");
	}

}
